Skip to content

fix(opencode): refresh provider models and resolve merge fallout#25496

Draft
jameswright1562 wants to merge 5 commits intoanomalyco:devfrom
jameswright1562:dev
Draft

fix(opencode): refresh provider models and resolve merge fallout#25496
jameswright1562 wants to merge 5 commits intoanomalyco:devfrom
jameswright1562:dev

Conversation

@jameswright1562
Copy link
Copy Markdown

@jameswright1562 jameswright1562 commented May 2, 2026

Issue for this PR

Closes #2047

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This fixes provider model refresh so updated model lists can propagate through the provider state and into the app/TUI flow instead of staying stuck on the original cached list.

I also had to clean up merge fallout in the provider/bootstrap path while landing that change. That included fixing broken provider imports and the custom-elements.d.ts references that were causing typecheck failures after the merge. The refresh fix works because provider refresh now updates the same state consumed by the UI, and the cleanup fixes restore the paths the runtime and typechecker expect.

How did you verify your code works?

I verified it locally with:

  • bun turbo typecheck
  • bun run typecheck in packages/opencode
  • bun run typecheck in packages/app
  • bun run typecheck in packages/enterprise

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

Hey! Your PR title Resolve merge conflicts and refresh models doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label May 2, 2026
@jameswright1562 jameswright1562 changed the title Resolve merge conflicts and refresh models fix(opencode): refresh provider models and resolve merge fallout May 2, 2026
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label May 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LM Studio Failure to refresh models

1 participant